package com.lushixiang.mybatis.maps;

import com.lushixiang.mybatis.entity.usercheckcode.UserCheckCodeEntity;


public interface UserCheckCodeMapper {
    String selectCodeById(String id);
    int insert(UserCheckCodeEntity code);

    //查询用户验证码
    String selectCodeByEmailAddr(String emailAddr);
    // 根据邮箱地址查询相关信息
    UserCheckCodeEntity selectByEmailAddr(String emailAddr);

    boolean deleteByEmailAddr(String emailAddr);
}
